/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.basic.hazard.source.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.hopes.bizz.common.core.annotation.ExcelDictValidate;
import com.hopes.boss.common.entity.ExcelVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 危险源监控因子设置
 *
 * @author daijie
 * @date 2023-11-01 17:32:11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ColumnWidth(30)
public class HazMonitorFactorExcelVO extends ExcelVO {

    private static final long serialVersionUID = 1L;


	/**
	* 危险源
	*/
    @ExcelProperty("危险源")
	@ExcelDictValidate(enumResolver = "hazard_source")
    private String hazardSourceIdStr;

	/**
	* 所属储存设备
	*/
    @ExcelProperty("所属储存设备")
	@ExcelDictValidate(enumResolver = "storage_info")
    private String storageIdStr;

	/**
	* 监控点
	*/
    @ExcelProperty("监控点")
    private String monitorSiteIdStr;

	/**
	* 监控因子
	*/
    @ExcelProperty("监控因子")
    private String factorIdStr;

	/**
	* 监控因子名
	*/
    @ExcelProperty("监控因子名")
    private String factorName;

	/**
	* 点位码
	*/
    @ExcelProperty("点位码")
    private String dataCode;

	/**
	* 是否核心参数
	*/
    @ExcelProperty("是否核心参数")
	@ExcelDictValidate(enumResolver = "yes_no_type")
    private String coreFlagStr;

	/**
	* 状态
	*/
    @ExcelProperty("状态")
	@ExcelDictValidate(enumResolver = "yes_no_type")
    private String useStatusStr;

	/**
	* 是否有高报
	*/
    @ExcelProperty("是否有高报")
	@ExcelDictValidate(enumResolver = "yes_no_type")
    private String haveHighAlarmFlagStr;

	/**
	* 是否有低报
	*/
    @ExcelProperty("是否有低报")
	@ExcelDictValidate(enumResolver = "yes_no_type")
    private String haveLowAlarmFlagStr;

	/**
	* 是否有量程
	*/
    @ExcelProperty("是否有量程")
	@ExcelDictValidate(enumResolver = "yes_no_type")
    private String haveRangeFlagStr;

	/**
	* 量程最大值
	*/
    @ExcelProperty("量程最大值")
    private BigDecimal maxRange;

	/**
	* 量程最小值
	*/
    @ExcelProperty("量程最小值")
    private BigDecimal minRange;

	/**
	* 计量单位
	*/
    @ExcelProperty("计量单位")
    private String unitName;

	/**
	* 高报
	*/
    @ExcelProperty("高报")
    private BigDecimal valueH;

	/**
	* 高高报
	*/
    @ExcelProperty("高高报")
    private BigDecimal valueHh;

	/**
	* 低报
	*/
    @ExcelProperty("低报")
    private BigDecimal valueL;

	/**
	* 低低报
	*/
    @ExcelProperty("低低报")
    private BigDecimal valueLl;

	/**
	* 是否断网 1.是 0.否
	*/
    @ExcelProperty("是否断网")
	@ExcelDictValidate(enumResolver = "yes_no_type")
    private String alarmBrokenNetStr;

	/**
	* 是否超标
	*/
    @ExcelProperty("是否超标")
	@ExcelDictValidate(enumResolver = "yes_no_type")
    private String alarmOverStandardStr;

	/**
	* 备注
	*/
    @ExcelProperty("备注")
    private String remarks;


}
